home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 679 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  757 b 

  1. Path: tank.news.pipex.net!pipex!iol!usenet
  2. From: derekh@iol.ie (Derek Hardiman)
  3. Newsgroups: comp.lang.c
  4. Subject: Variable paramater list macros
  5. Date: Mon, 08 Jan 1996 15:10:27 GMT
  6. Organization: Ireland On-Line
  7. Message-ID: <4crc3v$hm8@barnacle.iol.ie>
  8. NNTP-Posting-Host: dialup-087.dublin.iol.ie
  9. X-Newsreader: Forte Free Agent v0.55
  10.  
  11. I want to replace a variable argument list function (which I use for
  12. debugging ) with a macro that does nothing.
  13.  
  14. Unfortunately I can't remember how to write a macro that takes a
  15. variable number of paramaters ! Can you ?
  16.  
  17. I don't want to write ten macros, each taking one more dummy paramater
  18. than the last.
  19.  
  20. I know you could do it on MS C 7.0 (thats a long way back now !)
  21.  
  22. Any help would be appreciated,
  23.  
  24. Derek Hardiman.
  25.  
  26.